﻿<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<?php include("./template/back/_head.html") ?>
<body>




<section>
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
		<span class="c-gray en">&gt;</span>
		活动
		<span class="c-gray en">&gt;</span>
		活动列表

	</nav>
	<div class="Hui-article">
		<article class="cl pd-20">

			<div class="cl pd-5 bg-1 bk-gray mt-20">
				<span class="l">

				<a class="btn btn-primary radius" data-title="添加资讯" href="/back/Activity/add"><i class="Hui-iconfont">&#xe600;</i> 添加资讯</a>
				</span>

			</div>
			<div class="mt-20">
				<table class="table table-border table-bordered table-bg table-hover table-sort">
					<thead>
					<tr class="text-c">

						<th width="80">ID</th>
						<th>活动标题</th>
						<th>图片</th>
						<th>咨询热线</th>
						<th>咨询邮箱</th>
						<th>举办开始时间</th>
						<th>举办结束时间</th>
						<th>报名开始时间</th>
						<th>报名结束时间</th>
						<th>主办单位</th>
						<th>地点</th>
						<th>创建时间</th>
						<th>操作</th>
					</tr>
					</thead>
					<tbody>
					<?php foreach($list as $k=>$v){ ?>
					<tr class="text-c">
						<td><?php echo $v[id] ?></td>
						<td><?php echo $v[act_name] ?></td>
						<td><img src=<?php echo $v[pic] ?> /></td>
						<td><?php echo $v[link_mobile] ?></td>
						<td><?php echo $v[link_email] ?></td>
						<td><?php echo $v[hold_start_time] ?></td>
						<td><?php echo $v[hold_end_time] ?></td>
						<td><?php echo $v[apply_start_time] ?></td>
						<td><?php echo $v[apply_end_time] ?></td>
						<td><?php echo $v[host_unit] ?></td>
						<td><?php echo $v[address] ?></td>
						<td><?php echo $v[created_at] ?></td>
						<td>
							<a href="<?php echo url('/back/Activity/edit',[id=>$v[id]]) ?>">编辑</a>
							<a href="<?php echo url('/back/Activity/del',[id=>$v[id]]) ?>">删除</a>

						</td>

					</tr>
					<?php } ?>
					</tbody>
				</table>

				<div class="dataTables_info"><?php echo  $list->render() ?></div>

			</div>
		</article>
	</div>
</section>

<!--_footer 作为公共模版分离出去-->
<?php include("./template/back/_footer2.html") ?>
<!--/_footer /作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">

</script>
<!--/请在上方写此页面业务相关的脚本-->

<!--此乃百度统计代码，请自行删除-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<!--/此乃百度统计代码，请自行删除-->
</body>
</html>